package com.wanmait.model.pojo;

import java.io.Serializable;
import java.util.Date;

/**
    * 出差表
    */
public class TravelApplication implements Serializable {
    private Integer id;

    /**
    * 编号，自动生成
    */
    private String numbering;

    /**
    * 走访的供应商id
    */
    private Integer supplierId;

    /**
    * 申请人的id（为此次出差的负责人）
    */
    private Integer staffId;

    /**
    * 申请时间
    */
    private Date addTime;

    /**
    * 出差人数
    */
    private Integer travelNumber;

    /**
    * 出差计划/出差目的
    */
    private String purpose;

    /**
    * 计划出差日期
    */
    private Date planTravelDate;

    /**
    * 计划天数
    */
    private Integer planDays;

    /**
    * 计划金额
    */
    private String planMoney;

    /**
    * 行程计划
    */
    private String planTravel;

    /**
    * 内容
    */
    private String content;

    /**
    * 流程编号
    */
    private Integer processNumber;

    /**
    * 当前节点
    */
    private Integer node;

    /**
    * 批示状态（0不通过  1审批中  2通过）
    */
    private Integer state;

    /**
    * 修改时间
    */
    private Date updateTime;

    /**
    * 当前第几次修改
    */
    private Integer numberModifications;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumbering() {
        return numbering;
    }

    public void setNumbering(String numbering) {
        this.numbering = numbering;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public Integer getStaffId() {
        return staffId;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getTravelNumber() {
        return travelNumber;
    }

    public void setTravelNumber(Integer travelNumber) {
        this.travelNumber = travelNumber;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public Date getPlanTravelDate() {
        return planTravelDate;
    }

    public void setPlanTravelDate(Date planTravelDate) {
        this.planTravelDate = planTravelDate;
    }

    public Integer getPlanDays() {
        return planDays;
    }

    public void setPlanDays(Integer planDays) {
        this.planDays = planDays;
    }

    public String getPlanMoney() {
        return planMoney;
    }

    public void setPlanMoney(String planMoney) {
        this.planMoney = planMoney;
    }

    public String getPlanTravel() {
        return planTravel;
    }

    public void setPlanTravel(String planTravel) {
        this.planTravel = planTravel;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getProcessNumber() {
        return processNumber;
    }

    public void setProcessNumber(Integer processNumber) {
        this.processNumber = processNumber;
    }

    public Integer getNode() {
        return node;
    }

    public void setNode(Integer node) {
        this.node = node;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getNumberModifications() {
        return numberModifications;
    }

    public void setNumberModifications(Integer numberModifications) {
        this.numberModifications = numberModifications;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", numbering=").append(numbering);
        sb.append(", supplierId=").append(supplierId);
        sb.append(", staffId=").append(staffId);
        sb.append(", addTime=").append(addTime);
        sb.append(", travelNumber=").append(travelNumber);
        sb.append(", purpose=").append(purpose);
        sb.append(", planTravelDate=").append(planTravelDate);
        sb.append(", planDays=").append(planDays);
        sb.append(", planMoney=").append(planMoney);
        sb.append(", planTravel=").append(planTravel);
        sb.append(", content=").append(content);
        sb.append(", processNumber=").append(processNumber);
        sb.append(", node=").append(node);
        sb.append(", state=").append(state);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", numberModifications=").append(numberModifications);
        sb.append("]");
        return sb.toString();
    }
}